
#include "IClassShort.h"
#include "member_BClass.h"

using namespace BWE;

ClassShort::ClassShort() : BClass("short", true)
{

	insertMethod("short()", &ClassShort::create);
	insertMethod("short(char)", &ClassShort::create_char);
	insertMethod("short(short)", &ClassShort::create_short);
	insertMethod("short(int)", &ClassShort::create_int);
	insertMethod("short(long)", &ClassShort::create_long);
	insertMethod("short(real)", &ClassShort::create_real);
	insertMethod("short(float)", &ClassShort::create_float);
	insertMethod("short(double)", &ClassShort::create_double);
	insertMethod("~short()", &ClassShort::release);

	insertMethod("short =(bool)", &ClassShort::assign_bool);
	insertMethod("short =(char)", &ClassShort::assign_char);
	insertMethod("short =(short)", &ClassShort::assign_short);
	insertMethod("short =(int)", &ClassShort::assign_int);
	insertMethod("short =(long)", &ClassShort::assign_long);
	insertMethod("short =(real)", &ClassShort::assign_real);
	insertMethod("short =(float)", &ClassShort::assign_float);
	insertMethod("short =(double)", &ClassShort::assign_double);

	insertMethod("short +()", &ClassShort::positive);
	insertMethod("short -()", &ClassShort::negative);
	insertMethod("short ++()", &ClassShort::plus_plus);
	insertMethod("short --()", &ClassShort::minus_minus);

	insertMethod("char +(char)", &ClassShort::plus_char);
	insertMethod("short +(short)", &ClassShort::plus_short);
	insertMethod("int +(int)", &ClassShort::plus_int);
	insertMethod("long +(long)", &ClassShort::plus_long);
	insertMethod("long +(real)", &ClassShort::plus_real);
	insertMethod("float +(float)", &ClassShort::plus_float);
	insertMethod("double +(double)", &ClassShort::plus_double);

	insertMethod("+=(char)", &ClassShort::plus_assign_char);
	insertMethod("+=(short)", &ClassShort::plus_assign_short);
	insertMethod("+=(int)", &ClassShort::plus_assign_int);
	insertMethod("+=(long)", &ClassShort::plus_assign_long);
	insertMethod("+=(real)", &ClassShort::plus_assign_real);
	insertMethod("+=(float)", &ClassShort::plus_assign_float);
	insertMethod("+=(double)", &ClassShort::plus_assign_double);

	insertMethod("int -(char)", &ClassShort::minus_char);
	insertMethod("int -(short)", &ClassShort::minus_short);
	insertMethod("int -(int)", &ClassShort::minus_int);
	insertMethod("long -(long)", &ClassShort::minus_long);
	insertMethod("long -(real)", &ClassShort::minus_real);
	insertMethod("float -(float)", &ClassShort::minus_float);
	insertMethod("double -(double)", &ClassShort::minus_double);

	insertMethod("-=(char)", &ClassShort::minus_assign_char);
	insertMethod("-=(short)", &ClassShort::minus_assign_short);
	insertMethod("-=(int)", &ClassShort::minus_assign_int);
	insertMethod("-=(long)", &ClassShort::minus_assign_long);
	insertMethod("-=(real)", &ClassShort::minus_assign_real);
	insertMethod("-=(float)", &ClassShort::minus_assign_float);
	insertMethod("-=(double)", &ClassShort::minus_assign_double);

	insertMethod("int *(char)", &ClassShort::mult_char);
	insertMethod("int *(short)", &ClassShort::mult_short);
	insertMethod("int *(int)", &ClassShort::mult_int);
	insertMethod("long *(long)", &ClassShort::mult_long);
	insertMethod("long *(real)", &ClassShort::mult_real);
	insertMethod("float *(float)", &ClassShort::mult_float);
	insertMethod("double *(double)", &ClassShort::mult_double);

	insertMethod("*=(char)", &ClassShort::mult_assign_char);
	insertMethod("*=(short)", &ClassShort::mult_assign_short);
	insertMethod("*=(int)", &ClassShort::mult_assign_int);
	insertMethod("*=(long)", &ClassShort::mult_assign_long);
	insertMethod("*=(real)", &ClassShort::mult_assign_real);
	insertMethod("*=(float)", &ClassShort::mult_assign_float);
	insertMethod("*=(double)", &ClassShort::mult_assign_double);

	insertMethod("int /(char)", &ClassShort::div_char);
	insertMethod("int /(short)", &ClassShort::div_short);
	insertMethod("int /(int)", &ClassShort::div_int);
	insertMethod("long /(long)", &ClassShort::div_long);
	insertMethod("long /(real)", &ClassShort::div_real);
	insertMethod("float /(float)", &ClassShort::div_float);
	insertMethod("double /(double)", &ClassShort::div_double);

	insertMethod("/=(char)", &ClassShort::div_assign_char);
	insertMethod("/=(short)", &ClassShort::div_assign_short);
	insertMethod("/=(int)", &ClassShort::div_assign_int);
	insertMethod("/=(long)", &ClassShort::div_assign_long);
	insertMethod("/=(real)", &ClassShort::div_assign_real);
	insertMethod("/=(float)", &ClassShort::div_assign_float);
	insertMethod("/=(double)", &ClassShort::div_assign_double);

	insertMethod("int %(char)", &ClassShort::mod_char);
	insertMethod("int %(short)", &ClassShort::mod_short);
	insertMethod("int %(int)", &ClassShort::mod_int);
	insertMethod("long %(long)", &ClassShort::mod_long);
	insertMethod("long %(real)", &ClassShort::mod_real);
	insertMethod("float %(float)", &ClassShort::mod_float);
	insertMethod("double %(double)", &ClassShort::mod_double);

	insertMethod("%=(char)", &ClassShort::mod_assign_char);
	insertMethod("%=(short)", &ClassShort::mod_assign_short);
	insertMethod("%=(int)", &ClassShort::mod_assign_int);
	insertMethod("%=(long)", &ClassShort::mod_assign_long);
	insertMethod("%=(real)", &ClassShort::mod_assign_real);
	insertMethod("%=(float)", &ClassShort::mod_assign_float);
	insertMethod("%=(double)", &ClassShort::mod_assign_double);

	insertMethod("bool ==(bool)", &ClassShort::equal_bool);
	insertMethod("bool ==(char)", &ClassShort::equal_char);
	insertMethod("bool ==(short)", &ClassShort::equal_short);
	insertMethod("bool ==(int)", &ClassShort::equal_int);
	insertMethod("bool ==(long)", &ClassShort::equal_long);
	insertMethod("bool ==(real)", &ClassShort::equal_real);
	insertMethod("bool ==(float)", &ClassShort::equal_float);
	insertMethod("bool ==(double)", &ClassShort::equal_double);

	insertMethod("bool !=(bool)", &ClassShort::unequal_bool);
	insertMethod("bool !=(char)", &ClassShort::unequal_char);
	insertMethod("bool !=(short)", &ClassShort::unequal_short);
	insertMethod("bool !=(int)", &ClassShort::unequal_int);
	insertMethod("bool !=(long)", &ClassShort::unequal_long);
	insertMethod("bool !=(real)", &ClassShort::unequal_real);
	insertMethod("bool !=(float)", &ClassShort::unequal_float);
	insertMethod("bool !=(double)", &ClassShort::unequal_double);

	insertMethod("bool >(char)", &ClassShort::greater_char);
	insertMethod("bool >(short)", &ClassShort::greater_short);
	insertMethod("bool >(int)", &ClassShort::greater_int);
	insertMethod("bool >(long)", &ClassShort::greater_long);
	insertMethod("bool >(real)", &ClassShort::greater_real);
	insertMethod("bool >(float)", &ClassShort::greater_float);
	insertMethod("bool >(double)", &ClassShort::greater_double);

	insertMethod("bool <(char)", &ClassShort::less_char);
	insertMethod("bool <(short)", &ClassShort::less_short);
	insertMethod("bool <(int)", &ClassShort::less_int);
	insertMethod("bool <(long)", &ClassShort::less_long);
	insertMethod("bool <(real)", &ClassShort::less_real);
	insertMethod("bool <(float)", &ClassShort::less_float);
	insertMethod("bool <(double)", &ClassShort::less_double);

	insertMethod("bool >=(char)", &ClassShort::greater_equal_char);
	insertMethod("bool >=(short)", &ClassShort::greater_equal_short);
	insertMethod("bool >=(int)", &ClassShort::greater_equal_int);
	insertMethod("bool >=(long)", &ClassShort::greater_equal_long);
	insertMethod("bool >=(real)", &ClassShort::greater_equal_real);
	insertMethod("bool >=(float)", &ClassShort::greater_equal_float);
	insertMethod("bool >=(double)", &ClassShort::greater_equal_double);

	insertMethod("bool <=(char)", &ClassShort::less_equal_char);
	insertMethod("bool <=(short)", &ClassShort::less_equal_short);
	insertMethod("bool <=(int)", &ClassShort::less_equal_int);
	insertMethod("bool <=(long)", &ClassShort::less_equal_long);
	insertMethod("bool <=(real)", &ClassShort::less_equal_real);
	insertMethod("bool <=(float)", &ClassShort::less_equal_float);
	insertMethod("bool <=(double)", &ClassShort::less_equal_double);

}

void ClassShort::create(int argc, BValue* argv)
{
	argv[0].refer() = 0;
}
void ClassShort::create_char(int argc, BValue* argv)
{
	char c = argv[1];
	argv[0].refer() = c;
}
void ClassShort::create_short(int argc, BValue* argv)
{
	short s = argv[1];
	argv[0].refer() = (short)s;
}
void ClassShort::create_int(int argc, BValue* argv)
{
	int i = argv[1];
	argv[0].refer() = (short)i;
}
void ClassShort::create_long(int argc, BValue* argv)
{
	long long l = argv[1];
	argv[0].refer() = (short)l;
}
void ClassShort::create_real(int argc, BValue* argv)
{
	BReal r = argv[1];
	argv[0].refer() = (short)r;
}
void ClassShort::create_float(int argc, BValue* argv)
{
	float f = argv[1];
	argv[0].refer() = (short)f;
}
void ClassShort::create_double(int argc, BValue* argv)
{
	double d = argv[1];
	argv[0].refer() = (short)d;
}
void ClassShort::release(int argc, BValue* argv)
{
	argv[0].refer().clear();
}

void ClassShort::assign_bool(int argc, BValue* argv)
{
	short& v = argv[0];
	bool b = argv[1];
	v = b ? 1 : 0;
}
void ClassShort::assign_char(int argc, BValue* argv)
{
	short& v = argv[0];
	char c = argv[1];
	v = (short)c;
}
void ClassShort::assign_short(int argc, BValue* argv)
{
	short& v = argv[0];
	short s = argv[1];
	v = (short)s;
}
void ClassShort::assign_int(int argc, BValue* argv)
{
	short& v = argv[0];
	int i = argv[1];
	v = (short)i;
}
void ClassShort::assign_long(int argc, BValue* argv)
{
	short& v = argv[0];
	long long l = argv[1];
	v = (short)l;
}
void ClassShort::assign_real(int argc, BValue* argv)
{
	short& v = argv[0];
	BReal r = argv[1];
	v = (short)r;
}
void ClassShort::assign_float(int argc, BValue* argv)
{
	short& v = argv[0];
	int f = argv[1];
	v = (short)f;
}
void ClassShort::assign_double(int argc, BValue* argv)
{
	short& v = argv[0];
	double d = argv[1];
	v = (short)d;
}

void ClassShort::positive(int argc, BValue* argv)
{
	
}
void ClassShort::negative(int argc, BValue* argv)
{
	short& v = argv[0];
	argv[0] = -v;
}
void ClassShort::plus_plus(int argc, BValue* argv)
{
	short& v = argv[0];
	argv[0] = v++;
}
void ClassShort::minus_minus(int argc, BValue* argv)
{
	short& v = argv[0];
	argv[0] = v--;
}

void ClassShort::plus_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v + c);
}
void ClassShort::plus_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v + s);
}
void ClassShort::plus_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v + i);
}
void ClassShort::plus_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v + l);
}
void ClassShort::plus_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v + r);
}
void ClassShort::plus_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v + f);
}
void ClassShort::plus_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v + d);
}

void ClassShort::plus_assign_char(int argc, BValue* argv)
{
	short& v = argv[0];
	char c = argv[1];
	v = v + c;
}
void ClassShort::plus_assign_short(int argc, BValue* argv)
{
	short& v = argv[0];
	short s = argv[1];
	v = (short)(v + s);
}
void ClassShort::plus_assign_int(int argc, BValue* argv)
{
	short& v = argv[0];
	int i = argv[1];
	v = (short)(v + i);
}
void ClassShort::plus_assign_long(int argc, BValue* argv)
{
	short& v = argv[0];
	long long l = argv[1];
	v = (short)(v + l);
}
void ClassShort::plus_assign_real(int argc, BValue* argv)
{
	short& v = argv[0];
	BReal r = argv[1];
	v = (short)(v + r);
}
void ClassShort::plus_assign_float(int argc, BValue* argv)
{
	short& v = argv[0];
	float f = argv[1];
	v = (short)(v + f);
}
void ClassShort::plus_assign_double(int argc, BValue* argv)
{
	short& v = argv[0];
	double d = argv[1];
	v = (short)(v + d);
}

void ClassShort::minus_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v - c);
}
void ClassShort::minus_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v - s);
}
void ClassShort::minus_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v - i);
}
void ClassShort::minus_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v - l);
}
void ClassShort::minus_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v - r);
}
void ClassShort::minus_float(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v - d);
}
void ClassShort::minus_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v - d);
}

void ClassShort::minus_assign_char(int argc, BValue* argv)
{
	short& v = argv[0];
	char c = argv[1];
	v = v - c;
}
void ClassShort::minus_assign_short(int argc, BValue* argv)
{
	short& v = argv[0];
	short s = argv[1];
	v = (short)(v - s);
}
void ClassShort::minus_assign_int(int argc, BValue* argv)
{
	short& v = argv[0];
	int i = argv[1];
	v = (short)(v - i);
}
void ClassShort::minus_assign_long(int argc, BValue* argv)
{
	short& v = argv[0];
	long long l = argv[1];
	v = (short)(v - l);
}
void ClassShort::minus_assign_real(int argc, BValue* argv)
{
	short& v = argv[0];
	BReal r = argv[1];
	v = (short)(v - r);
}
void ClassShort::minus_assign_float(int argc, BValue* argv)
{
	short& v = argv[0];
	float f = argv[1];
	v = (short)(v - f);
}
void ClassShort::minus_assign_double(int argc, BValue* argv)
{
	short& v = argv[0];
	double d = argv[1];
	v = (short)(v - d);
}

void ClassShort::mult_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v * c);
}
void ClassShort::mult_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v * s);
}
void ClassShort::mult_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v * i);
}
void ClassShort::mult_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v * l);
}
void ClassShort::mult_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v * r);
}
void ClassShort::mult_float(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v * d);
}
void ClassShort::mult_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v * d);
}

void ClassShort::mult_assign_char(int argc, BValue* argv)
{
	short& v = argv[0];
	char c = argv[1];
	v = v * c;
}
void ClassShort::mult_assign_short(int argc, BValue* argv)
{
	short& v = argv[0];
	short s = argv[1];
	v = v * s;
}
void ClassShort::mult_assign_int(int argc, BValue* argv)
{
	short& v = argv[0];
	int i = argv[1];
	v = (short)(v * i);
}
void ClassShort::mult_assign_long(int argc, BValue* argv)
{
	short& v = argv[0];
	long long l = argv[1];
	v = (short)(v * l);
}
void ClassShort::mult_assign_real(int argc, BValue* argv)
{
	short& v = argv[0];
	BReal r = argv[1];
	v = (short)(v * r);
}
void ClassShort::mult_assign_float(int argc, BValue* argv)
{
	short& v = argv[0];
	float f = argv[1];
	v = (short)(v * f);
}
void ClassShort::mult_assign_double(int argc, BValue* argv)
{
	short& v = argv[0];
	double d = argv[1];
	v = (short)(v * d);
}

void ClassShort::div_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v / c);
}
void ClassShort::div_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v / s);
}
void ClassShort::div_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v / i);
}
void ClassShort::div_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v / l);
}
void ClassShort::div_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v / r);
}
void ClassShort::div_float(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v / d);
}
void ClassShort::div_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v / d);
}

void ClassShort::div_assign_char(int argc, BValue* argv)
{
	short& v = argv[0];
	char c = argv[1];
	v = v * c;
}
void ClassShort::div_assign_short(int argc, BValue* argv)
{
	short& v = argv[0];
	short s = argv[1];
	v = v / s;
}
void ClassShort::div_assign_int(int argc, BValue* argv)
{
	short& v = argv[0];
	int i = argv[1];
	v = (short)(v / i);
}
void ClassShort::div_assign_long(int argc, BValue* argv)
{
	short& v = argv[0];
	long long l = argv[1];
	v = (short)(v / l);
}
void ClassShort::div_assign_real(int argc, BValue* argv)
{
	short& v = argv[0];
	BReal r = argv[1];
	v = (short)(v / r);
}
void ClassShort::div_assign_float(int argc, BValue* argv)
{
	short& v = argv[0];
	float f = argv[1];
	v = (short)(v / f);
}
void ClassShort::div_assign_double(int argc, BValue* argv)
{
	short& v = argv[0];
	double d = argv[1];
	v = (short)(v / d);
}

void ClassShort::mod_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v % c);
}
void ClassShort::mod_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v % s);
}
void ClassShort::mod_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v % i);
}
void ClassShort::mod_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v % l);
}
void ClassShort::mod_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v % (short)r);
}
void ClassShort::mod_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v % (short)f);
}
void ClassShort::mod_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v % (short)d);
}

void ClassShort::mod_assign_char(int argc, BValue* argv)
{
	short& v = argv[0];
	char c = argv[1];
	v = (v % c);
}
void ClassShort::mod_assign_short(int argc, BValue* argv)
{
	short& v = argv[0];
	short s = argv[1];
	v = (v % s);
}
void ClassShort::mod_assign_int(int argc, BValue* argv)
{
	short& v = argv[0];
	int i = argv[1];
	v = (v % (short)i);
}
void ClassShort::mod_assign_long(int argc, BValue* argv)
{
	short& v = argv[0];
	long long l = argv[1];
	v = (v % (short)l);
}
void ClassShort::mod_assign_real(int argc, BValue* argv)
{
	short& v = argv[0];
	BReal r = argv[1];
	v = (v % (short)r);
}
void ClassShort::mod_assign_float(int argc, BValue* argv)
{
	short& v = argv[0];
	float f = argv[1];
	v = (v % (short)f);
}
void ClassShort::mod_assign_double(int argc, BValue* argv)
{
	short& v = argv[0];
	double d = argv[1];
	v = (v % (short)d);
}

void ClassShort::equal_bool(int argc, BValue* argv)
{
	short v = argv[0];
	bool b = argv[1];
	argv[0] = ((bool)v == b);
}
void ClassShort::equal_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v == c);
}
void ClassShort::equal_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v == s);
}
void ClassShort::equal_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v == i);
}
void ClassShort::equal_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v == l);
}
void ClassShort::equal_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v == r);
}
void ClassShort::equal_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v == f);
}
void ClassShort::equal_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v == d);
}

void ClassShort::unequal_bool(int argc, BValue* argv)
{
	short v = argv[0];
	bool b = argv[1];
	argv[0] = ((bool)v != b);
}
void ClassShort::unequal_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v != c);
}
void ClassShort::unequal_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v != s);
}
void ClassShort::unequal_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v != i);
}
void ClassShort::unequal_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v != l);
}
void ClassShort::unequal_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v != r);
}
void ClassShort::unequal_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v != f);
}
void ClassShort::unequal_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v != d);
}

void ClassShort::greater_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v > c);
}
void ClassShort::greater_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v > s);
}
void ClassShort::greater_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v > i);
}
void ClassShort::greater_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v > l);
}
void ClassShort::greater_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v > r);
}
void ClassShort::greater_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v > f);
}
void ClassShort::greater_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v > d);
}

void ClassShort::less_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v < c);
}
void ClassShort::less_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v < s);
}
void ClassShort::less_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v < i);
}
void ClassShort::less_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v < l);
}
void ClassShort::less_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v < r);
}
void ClassShort::less_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v < f);
}
void ClassShort::less_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v < d);
}

void ClassShort::greater_equal_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v >= c);
}
void ClassShort::greater_equal_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v >= s);
}
void ClassShort::greater_equal_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v >= i);
}
void ClassShort::greater_equal_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v >= l);
}
void ClassShort::greater_equal_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v >= r);
}
void ClassShort::greater_equal_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v >= f);
}
void ClassShort::greater_equal_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v >= d);
}

void ClassShort::less_equal_char(int argc, BValue* argv)
{
	short v = argv[0];
	char c = argv[1];
	argv[0] = (v <= c);
}
void ClassShort::less_equal_short(int argc, BValue* argv)
{
	short v = argv[0];
	short s = argv[1];
	argv[0] = (v <= s);
}
void ClassShort::less_equal_int(int argc, BValue* argv)
{
	short v = argv[0];
	int i = argv[1];
	argv[0] = (v <= i);
}
void ClassShort::less_equal_long(int argc, BValue* argv)
{
	short v = argv[0];
	long long l = argv[1];
	argv[0] = (v <= l);
}
void ClassShort::less_equal_real(int argc, BValue* argv)
{
	short v = argv[0];
	BReal r = argv[1];
	argv[0] = (v <= r);
}
void ClassShort::less_equal_float(int argc, BValue* argv)
{
	short v = argv[0];
	float f = argv[1];
	argv[0] = (v <= f);
}
void ClassShort::less_equal_double(int argc, BValue* argv)
{
	short v = argv[0];
	double d = argv[1];
	argv[0] = (v <= d);
}
